#ifndef __DELAY_H__
#define __DELAY_H__
#include "main.h"
// delay_1ms()     1000个时钟周期
void delay_1ms(void);

// delay_1s()     1000000个时钟周期
void delay_1s(void);

// delay_us(unsigned char n)      n倍8个时钟周期的整数倍
void delay_us(unsigned char n);

// delay_ms(unsigned char n)      n倍1ms个时钟周期的整数倍 	误差千分之8
void delay_ms(unsigned char n);

// delay_ss(unsigned char n)       n倍1s个时钟周期的整数倍 	误差百万分之8
void delay_ss(unsigned char n);
#endif //__DELAY_H__

